package com.ziyan.config;

import com.ziyan.cache.BaseIEnumCache;
import org.springframework.beans.factory.annotation.Value;

import javax.annotation.PostConstruct;

/**
 * @author ziyan
 * @email 434595824@qq.com
 * @date 2019年09月25日
 */
public class EnumDescConfiguration {

    @Value("${application.enum-package:}")
    private String enumPackage;

    @PostConstruct
    public void init(){
        BaseIEnumCache.init(enumPackage);
    }
}
